home *** CD-ROM | disk | FTP | other *** search
- -- background: 2672 from stack: in
- -- bmap block id: 2220
- -- flags: 4000
- -- background id: 0
- -- name:
-
-
- -- part 1 (button)
- -- low flags: 00
- -- high flags: 8003
- -- rect: left=35 top=104 right=134 bottom=155
- -- title width / last selected line: 0
- -- icon id / first selected line: 0 / 0
- -- text alignment: 1
- -- font id: 0
- -- text size: 12
- -- style flags: 0
- -- line height: 16
- -- part name: Define Bad Stack
- ----- HyperTalk script -----
- on mouseUp
- ask "What is the Name of the Bad Stack?"
- put it into Field "Bad Stack Name"
- end mouseUp
-
-
-
- -- part 2 (button)
- -- low flags: 00
- -- high flags: 8003
- -- rect: left=35 top=135 right=165 bottom=155
- -- title width / last selected line: 0
- -- icon id / first selected line: 0 / 0
- -- text alignment: 1
- -- font id: 0
- -- text size: 12
- -- style flags: 0
- -- line height: 16
- -- part name: Define New Stack
- ----- HyperTalk script -----
- on mouseUp
- get the short name of this stack
- put it into Field "New Stack Name"
- set the name of this card to "Operation Card"
- end mouseUp
-
-
-
- -- part 3 (button)
- -- low flags: 00
- -- high flags: 8003
- -- rect: left=35 top=166 right=196 bottom=155
- -- title width / last selected line: 0
- -- icon id / first selected line: 0 / 0
- -- text alignment: 1
- -- font id: 0
- -- text size: 12
- -- style flags: 0
- -- line height: 16
- -- part name: Bad Card Number
- ----- HyperTalk script -----
- on mouseUp
- ask "What is the Bad Card Number?"
- if it > 0 then
- put it into Field "Bad Card Number"
- go to stack field "Bad Stack Name"
- get the number of cards
- go to recent card
- put Field "Bad Card Number" - 1 into Field "Cards Before"
- put (it - Field "Bad Card Number") into Field "Cards After"
- end if
- end mouseUp
-
-
-
- -- part 4 (button)
- -- low flags: 00
- -- high flags: A004
- -- rect: left=406 top=57 right=109 bottom=499
- -- title width / last selected line: 0
- -- icon id / first selected line: 0 / 0
- -- text alignment: 1
- -- font id: 0
- -- text size: 12
- -- style flags: 0
- -- line height: 16
- -- part name: Fix the Stack
- ----- HyperTalk script -----
- on mouseUp
- put 0 into Field "Cards Completed"
- Repeat for Field "Cards Before" - 1 times
- go Field "Bad Stack Name"
- doMenu "Cut Card"
- go to Recent Card
- Hide Message
- doMenu "Paste Card"
- go to Card "Operation Card"
- add 1 to field "Cards Completed"
- End Repeat
- Repeat for Field "Cards After" times
- go to Card 3 of Field "Bad Stack Name"
- doMenu "Cut Card"
- go Recent Card
- Hide Message
- doMenu "Paste Card"
- go to Card "Operation Card"
- add 1 to field "Cards Completed"
- End Repeat
- go Field "Bad Stack Name"
- doMenu "Copy Card"
- go Recent Card
- Hide Message
- doMenu "Paste Card"
- go to Card "Operation Card"
- add 1 to field "Cards Completed"
- Beep 5
- end mouseUp
-
-
-
- -- part 5 (field)
- -- low flags: 01
- -- high flags: 0002
- -- rect: left=158 top=111 right=131 bottom=291
- -- title width / last selected line: 0
- -- icon id / first selected line: 0 / 0
- -- text alignment: 0
- -- font id: 3
- -- text size: 12
- -- style flags: 0
- -- line height: 16
- -- part name: Bad Stack Name
-
-
- -- part 6 (field)
- -- low flags: 01
- -- high flags: 0002
- -- rect: left=158 top=140 right=160 bottom=291
- -- title width / last selected line: 0
- -- icon id / first selected line: 0 / 0
- -- text alignment: 0
- -- font id: 3
- -- text size: 12
- -- style flags: 0
- -- line height: 16
- -- part name: New Stack Name
-
-
- -- part 7 (field)
- -- low flags: 01
- -- high flags: 0002
- -- rect: left=158 top=170 right=190 bottom=291
- -- title width / last selected line: 0
- -- icon id / first selected line: 0 / 0
- -- text alignment: 0
- -- font id: 3
- -- text size: 12
- -- style flags: 0
- -- line height: 16
- -- part name: Bad Card Number
-
-
- -- part 8 (field)
- -- low flags: 00
- -- high flags: 0002
- -- rect: left=214 top=209 right=224 bottom=248
- -- title width / last selected line: 0
- -- icon id / first selected line: 0 / 0
- -- text alignment: 0
- -- font id: 3
- -- text size: 9
- -- style flags: 0
- -- line height: 12
- -- part name: Cards Before
-
-
- -- part 9 (field)
- -- low flags: 00
- -- high flags: 0002
- -- rect: left=214 top=243 right=258 bottom=248
- -- title width / last selected line: 0
- -- icon id / first selected line: 0 / 0
- -- text alignment: 0
- -- font id: 3
- -- text size: 9
- -- style flags: 0
- -- line height: 12
- -- part name: Cards After
-
-
- -- part 10 (field)
- -- low flags: 00
- -- high flags: 0002
- -- rect: left=214 top=278 right=293 bottom=248
- -- title width / last selected line: 0
- -- icon id / first selected line: 0 / 0
- -- text alignment: 0
- -- font id: 3
- -- text size: 9
- -- style flags: 0
- -- line height: 12
- -- part name: Cards Completed
-
-
- -- part 11 (button)
- -- low flags: 00
- -- high flags: 8003
- -- rect: left=34 top=304 right=334 bottom=154
- -- title width / last selected line: 0
- -- icon id / first selected line: 0 / 0
- -- text alignment: 1
- -- font id: 0
- -- text size: 12
- -- style flags: 0
- -- line height: 16
- -- part name: Go to Bad Stack
- ----- HyperTalk script -----
- on mouseUp
- go to Field "Bad Stack Name"
- end mouseUp
-
-
-
- -- part 16 (button)
- -- low flags: 00
- -- high flags: 0000
- -- rect: left=0 top=21 right=59 bottom=41
- -- title width / last selected line: 0
- -- icon id / first selected line: 20098 / 20098
- -- text alignment: 1
- -- font id: 0
- -- text size: 12
- -- style flags: 0
- -- line height: 16
- -- part name: Home
- ----- HyperTalk script -----
- on mouseUp
- visual effect iris close
- go home
- end mouseUp
-
-
-
- -- part 17 (button)
- -- low flags: 00
- -- high flags: 0000
- -- rect: left=431 top=300 right=339 bottom=473
- -- title width / last selected line: 0
- -- icon id / first selected line: 23078 / 23078
- -- text alignment: 1
- -- font id: 0
- -- text size: 12
- -- style flags: 0
- -- line height: 16
- -- part name: Help
- ----- HyperTalk script -----
- on mouseUp
- visual effect iris open
- go to card "Help Card" of stack "Stack Repair"
- end mouseUp
-